package com.pureut.quality.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pureut.quality.domain.QualityPatrolInspectionDocument;
import com.pureut.quality.domain.dto.QualityPatrolInspectionDocumentDto;
import com.pureut.quality.domain.vo.QualityPatrolInspectionDocumentVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/***
 * 巡检单据mapper
 * Author:C
 * Date:2023/02/10 15:34
 * @DESC
 */
@Mapper
public interface QualityPatrolInspectionDocumentMapper extends BaseMapper<QualityPatrolInspectionDocument> {

    /**
     * 巡检单据列表
     */
    List<QualityPatrolInspectionDocumentDto> getList(QualityPatrolInspectionDocumentVo qualityPatrolInspectionDocumentVo);

    /**
     * 根据id获取详情
     */
    QualityPatrolInspectionDocumentDto getViewById(Long id);
}
